import request from '@/utils/request'
import { exportRole } from './role'

export function getUserBindingList(data) {
  return request({
    url: '/wechat/binding/list',
    method: 'post',
    data: data
  })
}

export function modifyUserBinding(data) {
  return request({
    url: '/wechat/binding/update',
    method: 'post',
    data: data
  })
}

export function exportExcel() {
  return request({
    url: '/wechat/binding/export',
    method: 'get',
    params: {},
  })
}

// 地级市列表
export function getCitys() {
  return request({
    url: '/wechat/binding/initDept',
    method: 'get',
    params: {},
  })
}